<?php
// Script to allow users to request a user to submit a bio

// Include the stylesheet

// include the PHP Facebook Client Library
require_once('../facebook/facebook.php');
require_once('db.php');

// application class to fetch application data
include_once('application.php'); 

// display the tabs
include_once('tabs.php');

$facebook = new Facebook(Application::$apiKey, Application::$apiSecret);
$user_id = $facebook->require_login();

?>

<br>Ask a friend to write you a bio
<!-- Friend selector -->
<fb:editor action="request.php" >
<fb:friend-selector idname="friendUid" name="friendName" />
<fb:editor-buttonset>
<fb:editor-button value="Send request" name="request" />
</fb:editor-buttonset>
</fb:editor>
